package com.xiaoluo.lottery.common.weixin.pay.beans;

import com.xiaoluo.lottery.common.weixin.base.BaseRes;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

/**
 * Project : lottery
 * Package : main.java.com.xiaoluo.lottery.common.weixin.pay.enums
 * Created by Willian.
 * Date  : 2016/4/6 14:38.
 */
@Root(name = "xml")
public class RefundRes extends BaseRes {

    @Element(name = "transaction_id",required = false)   private String  transactionId;//微信订单号	   是	String(28)	1217752501201407033233368018	微信订单号
    @Element(name = "out_trade_no",required = false)     private String  outTradeNo;//商户订单号	   是	String(32)	1217752501201407033233368018	商户系统内部的订单号
    @Element(name = "out_refund_no",required = false)    private String  outRefundNo;//商户退款单号	    是	String(32)	1217752501201407033233368018	商户退款单号
    @Element(name = "refund_id",required = false)        private String  refundId;//微信退款单号	    是	String(28)	1217752501201407033233368018	微信退款单号
    @Element(name = "refund_channel",required = false)   private String  refundChannel;//退款渠道	   否	String(16)	ORIGINAL       ORIGINAL—原路退款    BALANCE—退回到余额
    @Element(name = "refund_fee",required = false)       private String  refundFee;//退款金额	   是	Int	100	退款总金额,单位为分,可以做部分退款
    @Element(name = "total_fee",required = false)        private String  totalFee;//订单总金额	   是	Int	100	订单总金额，单位为分，只能为整数，详见支付金额
    @Element(name = "fee_type",required = false)         private String  feeType;//订单金额货币种类	  否	String(8)	CNY	订单金额货币类型，符合ISO 4217标准的三位字母代码，默认人民币：CNY，其他值列表详见货币类型
    @Element(name = "cash_fee",required = false)         private String  cashFee;//现金支付金额	    是	Int	100	现金支付金额，单位为分，只能为整数，详见支付金额
    @Element(name = "cash_refund_fee",required = false)  private String  cashRefundFee;//现金退款金额	    否	Int	100	现金退款金额，单位为分，只能为整数，详见支付金额


    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getOutRefundNo() {
        return outRefundNo;
    }

    public void setOutRefundNo(String outRefundNo) {
        this.outRefundNo = outRefundNo;
    }

    public String getRefundId() {
        return refundId;
    }

    public void setRefundId(String refundId) {
        this.refundId = refundId;
    }

    public String getRefundChannel() {
        return refundChannel;
    }

    public void setRefundChannel(String refundChannel) {
        this.refundChannel = refundChannel;
    }

    public String getRefundFee() {
        return refundFee;
    }

    public void setRefundFee(String refundFee) {
        this.refundFee = refundFee;
    }

    public String getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(String totalFee) {
        this.totalFee = totalFee;
    }

    public String getFeeType() {
        return feeType;
    }

    public void setFeeType(String feeType) {
        this.feeType = feeType;
    }

    public String getCashFee() {
        return cashFee;
    }

    public void setCashFee(String cashFee) {
        this.cashFee = cashFee;
    }

    public String getCashRefundFee() {
        return cashRefundFee;
    }

    public void setCashRefundFee(String cashRefundFee) {
        this.cashRefundFee = cashRefundFee;
    }
}
